Integrand size = 26, antiderivative size = 453 \[ \int \frac {(e+f x)^3 \sinh (c+d x)}{a+b \sinh (c+d x)} \, dx=\frac {(e+f x)^4}{4 b f}-\frac {a (e+f x)^3 \log \left (1+\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{b \sqrt {a^2+b^2} d}+\frac {a (e+f x)^3 \log \left (1+\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{b \sqrt {a^2+b^2} d}-\frac {3 a f (e+f x)^2 \operatorname {PolyLog}\left (2,-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{b \sqrt {a^2+b^2} d^2}+\frac {3 a f (e+f x)^2 \operatorname {PolyLog}\left (2,-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{b \sqrt {a^2+b^2} d^2}+\frac {6 a f^2 (e+f x) \operatorname {PolyLog}\left (3,-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{b \sqrt {a^2+b^2} d^3}-\frac {6 a f^2 (e+f x) \operatorname {PolyLog}\left (3,-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{b \sqrt {a^2+b^2} d^3}-\frac {6 a f^3 \operatorname {PolyLog}\left (4,-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{b \sqrt {a^2+b^2} d^4}+\frac {6 a f^3 \operatorname {PolyLog}\left (4,-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{b \sqrt {a^2+b^2} d^4} \]
[Out]
Time = 0.58 (sec) , antiderivative size = 453, normalized size of antiderivative = 1.00, number of steps used = 14, number of rules used = 9, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.346, Rules used = {5676, 32, 3403, 2296, 2221, 2611, 6744, 2320, 6724} \[ \int \frac {(e+f x)^3 \sinh (c+d x)}{a+b \sinh (c+d x)} \, dx=-\frac {6 a f^3 \operatorname {PolyLog}\left (4,-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{b d^4 \sqrt {a^2+b^2}}+\frac {6 a f^3 \operatorname {PolyLog}\left (4,-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{b d^4 \sqrt {a^2+b^2}}+\frac {6 a f^2 (e+f x) \operatorname {PolyLog}\left (3,-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{b d^3 \sqrt {a^2+b^2}}-\frac {6 a f^2 (e+f x) \operatorname {PolyLog}\left (3,-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{b d^3 \sqrt {a^2+b^2}}-\frac {3 a f (e+f x)^2 \operatorname {PolyLog}\left (2,-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{b d^2 \sqrt {a^2+b^2}}+\frac {3 a f (e+f x)^2 \operatorname {PolyLog}\left (2,-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{b d^2 \sqrt {a^2+b^2}}-\frac {a (e+f x)^3 \log \left (\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}+1\right )}{b d \sqrt {a^2+b^2}}+\frac {a (e+f x)^3 \log \left (\frac {b e^{c+d x}}{\sqrt {a^2+b^2}+a}+1\right )}{b d \sqrt {a^2+b^2}}+\frac {(e+f x)^4}{4 b f} \]
[In]
[Out]
Rule 32
Rule 2221
Rule 2296
Rule 2320
Rule 2611
Rule 3403
Rule 5676
Rule 6724
Rule 6744
Rubi steps \begin{align*} \text {integral}& = \frac {\int (e+f x)^3 \, dx}{b}-\frac {a \int \frac {(e+f x)^3}{a+b \sinh (c+d x)} \, dx}{b} \\ & = \frac {(e+f x)^4}{4 b f}-\frac {(2 a) \int \frac {e^{c+d x} (e+f x)^3}{-b+2 a e^{c+d x}+b e^{2 (c+d x)}} \, dx}{b} \\ & = \frac {(e+f x)^4}{4 b f}-\frac {(2 a) \int \frac {e^{c+d x} (e+f x)^3}{2 a-2 \sqrt {a^2+b^2}+2 b e^{c+d x}} \, dx}{\sqrt {a^2+b^2}}+\frac {(2 a) \int \frac {e^{c+d x} (e+f x)^3}{2 a+2 \sqrt {a^2+b^2}+2 b e^{c+d x}} \, dx}{\sqrt {a^2+b^2}} \\ & = \frac {(e+f x)^4}{4 b f}-\frac {a (e+f x)^3 \log \left (1+\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{b \sqrt {a^2+b^2} d}+\frac {a (e+f x)^3 \log \left (1+\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{b \sqrt {a^2+b^2} d}+\frac {(3 a f) \int (e+f x)^2 \log \left (1+\frac {2 b e^{c+d x}}{2 a-2 \sqrt {a^2+b^2}}\right ) \, dx}{b \sqrt {a^2+b^2} d}-\frac {(3 a f) \int (e+f x)^2 \log \left (1+\frac {2 b e^{c+d x}}{2 a+2 \sqrt {a^2+b^2}}\right ) \, dx}{b \sqrt {a^2+b^2} d} \\ & = \frac {(e+f x)^4}{4 b f}-\frac {a (e+f x)^3 \log \left (1+\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{b \sqrt {a^2+b^2} d}+\frac {a (e+f x)^3 \log \left (1+\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{b \sqrt {a^2+b^2} d}-\frac {3 a f (e+f x)^2 \operatorname {PolyLog}\left (2,-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{b \sqrt {a^2+b^2} d^2}+\frac {3 a f (e+f x)^2 \operatorname {PolyLog}\left (2,-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{b \sqrt {a^2+b^2} d^2}+\frac {\left (6 a f^2\right ) \int (e+f x) \operatorname {PolyLog}\left (2,-\frac {2 b e^{c+d x}}{2 a-2 \sqrt {a^2+b^2}}\right ) \, dx}{b \sqrt {a^2+b^2} d^2}-\frac {\left (6 a f^2\right ) \int (e+f x) \operatorname {PolyLog}\left (2,-\frac {2 b e^{c+d x}}{2 a+2 \sqrt {a^2+b^2}}\right ) \, dx}{b \sqrt {a^2+b^2} d^2} \\ & = \frac {(e+f x)^4}{4 b f}-\frac {a (e+f x)^3 \log \left (1+\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{b \sqrt {a^2+b^2} d}+\frac {a (e+f x)^3 \log \left (1+\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{b \sqrt {a^2+b^2} d}-\frac {3 a f (e+f x)^2 \operatorname {PolyLog}\left (2,-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{b \sqrt {a^2+b^2} d^2}+\frac {3 a f (e+f x)^2 \operatorname {PolyLog}\left (2,-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{b \sqrt {a^2+b^2} d^2}+\frac {6 a f^2 (e+f x) \operatorname {PolyLog}\left (3,-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{b \sqrt {a^2+b^2} d^3}-\frac {6 a f^2 (e+f x) \operatorname {PolyLog}\left (3,-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{b \sqrt {a^2+b^2} d^3}-\frac {\left (6 a f^3\right ) \int \operatorname {PolyLog}\left (3,-\frac {2 b e^{c+d x}}{2 a-2 \sqrt {a^2+b^2}}\right ) \, dx}{b \sqrt {a^2+b^2} d^3}+\frac {\left (6 a f^3\right ) \int \operatorname {PolyLog}\left (3,-\frac {2 b e^{c+d x}}{2 a+2 \sqrt {a^2+b^2}}\right ) \, dx}{b \sqrt {a^2+b^2} d^3} \\ & = \frac {(e+f x)^4}{4 b f}-\frac {a (e+f x)^3 \log \left (1+\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{b \sqrt {a^2+b^2} d}+\frac {a (e+f x)^3 \log \left (1+\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{b \sqrt {a^2+b^2} d}-\frac {3 a f (e+f x)^2 \operatorname {PolyLog}\left (2,-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{b \sqrt {a^2+b^2} d^2}+\frac {3 a f (e+f x)^2 \operatorname {PolyLog}\left (2,-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{b \sqrt {a^2+b^2} d^2}+\frac {6 a f^2 (e+f x) \operatorname {PolyLog}\left (3,-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{b \sqrt {a^2+b^2} d^3}-\frac {6 a f^2 (e+f x) \operatorname {PolyLog}\left (3,-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{b \sqrt {a^2+b^2} d^3}-\frac {\left (6 a f^3\right ) \text {Subst}\left (\int \frac {\operatorname {PolyLog}\left (3,\frac {b x}{-a+\sqrt {a^2+b^2}}\right )}{x} \, dx,x,e^{c+d x}\right )}{b \sqrt {a^2+b^2} d^4}+\frac {\left (6 a f^3\right ) \text {Subst}\left (\int \frac {\operatorname {PolyLog}\left (3,-\frac {b x}{a+\sqrt {a^2+b^2}}\right )}{x} \, dx,x,e^{c+d x}\right )}{b \sqrt {a^2+b^2} d^4} \\ & = \frac {(e+f x)^4}{4 b f}-\frac {a (e+f x)^3 \log \left (1+\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{b \sqrt {a^2+b^2} d}+\frac {a (e+f x)^3 \log \left (1+\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{b \sqrt {a^2+b^2} d}-\frac {3 a f (e+f x)^2 \operatorname {PolyLog}\left (2,-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{b \sqrt {a^2+b^2} d^2}+\frac {3 a f (e+f x)^2 \operatorname {PolyLog}\left (2,-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{b \sqrt {a^2+b^2} d^2}+\frac {6 a f^2 (e+f x) \operatorname {PolyLog}\left (3,-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{b \sqrt {a^2+b^2} d^3}-\frac {6 a f^2 (e+f x) \operatorname {PolyLog}\left (3,-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{b \sqrt {a^2+b^2} d^3}-\frac {6 a f^3 \operatorname {PolyLog}\left (4,-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{b \sqrt {a^2+b^2} d^4}+\frac {6 a f^3 \operatorname {PolyLog}\left (4,-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{b \sqrt {a^2+b^2} d^4} \\ \end{align*}
Time = 1.09 (sec) , antiderivative size = 608, normalized size of antiderivative = 1.34 \[ \int \frac {(e+f x)^3 \sinh (c+d x)}{a+b \sinh (c+d x)} \, dx=\frac {x \left (4 e^3+6 e^2 f x+4 e f^2 x^2+f^3 x^3\right )}{4 b}-\frac {a \left (-2 d^3 e^3 \text {arctanh}\left (\frac {a+b e^{c+d x}}{\sqrt {a^2+b^2}}\right )+3 d^3 e^2 f x \log \left (1+\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )+3 d^3 e f^2 x^2 \log \left (1+\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )+d^3 f^3 x^3 \log \left (1+\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )-3 d^3 e^2 f x \log \left (1+\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )-3 d^3 e f^2 x^2 \log \left (1+\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )-d^3 f^3 x^3 \log \left (1+\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )+3 d^2 f (e+f x)^2 \operatorname {PolyLog}\left (2,\frac {b e^{c+d x}}{-a+\sqrt {a^2+b^2}}\right )-3 d^2 f (e+f x)^2 \operatorname {PolyLog}\left (2,-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )-6 d e f^2 \operatorname {PolyLog}\left (3,\frac {b e^{c+d x}}{-a+\sqrt {a^2+b^2}}\right )-6 d f^3 x \operatorname {PolyLog}\left (3,\frac {b e^{c+d x}}{-a+\sqrt {a^2+b^2}}\right )+6 d e f^2 \operatorname {PolyLog}\left (3,-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )+6 d f^3 x \operatorname {PolyLog}\left (3,-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )+6 f^3 \operatorname {PolyLog}\left (4,\frac {b e^{c+d x}}{-a+\sqrt {a^2+b^2}}\right )-6 f^3 \operatorname {PolyLog}\left (4,-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )\right )}{b \sqrt {a^2+b^2} d^4} \]
[In]
[Out]
\[\int \frac {\left (f x +e \right )^{3} \sinh \left (d x +c \right )}{a +b \sinh \left (d x +c \right )}d x\]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 1112 vs. \(2 (409) = 818\).
Time = 0.28 (sec) , antiderivative size = 1112, normalized size of antiderivative = 2.45 \[ \int \frac {(e+f x)^3 \sinh (c+d x)}{a+b \sinh (c+d x)} \, dx=\text {Too large to display} \]
[In]
[Out]
\[ \int \frac {(e+f x)^3 \sinh (c+d x)}{a+b \sinh (c+d x)} \, dx=\int \frac {\left (e + f x\right )^{3} \sinh {\left (c + d x \right )}}{a + b \sinh {\left (c + d x \right )}}\, dx \]
[In]
[Out]
\[ \int \frac {(e+f x)^3 \sinh (c+d x)}{a+b \sinh (c+d x)} \, dx=\int { \frac {{\left (f x + e\right )}^{3} \sinh \left (d x + c\right )}{b \sinh \left (d x + c\right ) + a} \,d x } \]
[In]
[Out]
\[ \int \frac {(e+f x)^3 \sinh (c+d x)}{a+b \sinh (c+d x)} \, dx=\int { \frac {{\left (f x + e\right )}^{3} \sinh \left (d x + c\right )}{b \sinh \left (d x + c\right ) + a} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {(e+f x)^3 \sinh (c+d x)}{a+b \sinh (c+d x)} \, dx=\int \frac {\mathrm {sinh}\left (c+d\,x\right )\,{\left (e+f\,x\right )}^3}{a+b\,\mathrm {sinh}\left (c+d\,x\right )} \,d x \]
[In]
[Out]